<?php

  $guid = $vars['entity']->getGUID();
	$action ="pel/deletelang";
	$lang = $vars['entity']->description;
  $title_label = elgg_echo('pel:deletelangtext');
  $title_textbox = elgg_echo($lang);
  $submit_input = elgg_view('input/submit', array('internalname' => 'submit', 'value' => elgg_echo('delete')));
  $entity_hidden = elgg_view('input/hidden', array('internalname' => 'post', 'value' => $guid));

  $form_body = <<<EOT
  	<p>
			<h4>$title_label $title_textbox</h4><br />
			$entity_hidden
			$submit_input
		</p>
EOT;
  echo elgg_view('input/form', array('action' => "{$vars['url']}action/$action", 'body' => $form_body));
?>
